package com.zb.service;

import com.zb.model.TGoodsInShopCart;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface ShopCartService {

	public List<TGoodsInShopCart> addGoodsIntoShopCartService(String goodsId,String userId,int count);
	
	public TGoodsInShopCart updateCount(String goodsId,String userId,String method);
	
	public List<TGoodsInShopCart> delGoodsIntoShopCartService(String goodsId, String userId);
	
	public float allSelectSum(String userId,HttpSession session);
	
	public float SingleSelectChangeSum(String goodsId, String attribute, float sum, String method,HttpSession session);
	
	List<TGoodsInShopCart> afterPayToShopCart(String userId,List<TGoodsInShopCart> goodsInScList);
}
